package com.learn.acm.design.strategy;

import lombok.extern.slf4j.Slf4j;

/**
 * @author zhongshitao
 * @date 2020/11/5 4:19 下午
 */
@Slf4j
public class ConcreteStrategyAdd implements Strategy {
    /**
     * 操作
     *
     * @param a 数字a
     * @param b 数字b
     */
    @Override
    public void execute(int a, int b) {
        log.info("{} + {} = {}", a, b, (a+b));
    }
}
